This function returns the record numbers in one level that are connected to a given set of records in a different level. The two levels need not be adjacent. The records in one level are related to those in another through the link field. These in turn are related to the next. In this way, each record in any level is related to others in all the levels of the point structure.
Result = EOS_PT_GETRECNUMS( pointID, inlevel, outlevel, inNrec, inRecs, outNrec, outRecs)
Returns SUCCEED (0) if successful and FAIL (–1) otherwise.
Point id (long) returned by EOS_PT_CREATE or EOS_PT_ATTACH.
Level number (long) of input records (0-based).
Level number (long) of output records (0-based).
Number of records (long) in the inRecs array.
Array (long) containing the input record numbers.
A named variable that will contain the number of records (long) in the outRecs array.
A named variable that will contain the array (long) of output record numbers.
None
In this example, we get the record numbers in the second level that are related to the first record in the first level:
nrec = 1
recs[0] = 0
inLevel = 0
outLevel = 1
status = EOS_PT_GETRECNUMS(pointID2, inLevel, outLevel, $
nrec, recs, outNrec, outRecs)
5.2 |
Introduced |